﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DevExpress.XtraEditors;

namespace FuarControls
{
    public class ExButtonEdit : ButtonEdit
    {
        protected override void OnLostFocus(EventArgs e)
        {
            base.OnLostFocus(e);
            this.Text = this.Text.Replace('*', '%');
        }
    }

    public class ExTextEdit : TextEdit
    {
        protected override void OnLostFocus(EventArgs e)
        {
            base.OnLostFocus(e);
            this.Text = this.Text.Replace('*', '%');
        }

    }
}
